<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title></title>
<#include "../head.html"/>
 
</head>
<body>
<div class="box-positon">
	<div class="rpos"><@s.m "global.position"/>: <@s.m "channel.function"/> - <@s.m "global.list"/></div>
	<form class="ropt">
		<input type="hidden" name="root" value="${root!}"/>
		<input class="create-file" type="submit" value="添加类型" onclick="this.form.action='v_type.do'"/>
	</form>
	<div class="clear"></div>
</div>
<div class="body-box">
<form id="tableForm" method="post">
<@p.table value=types;type,i,has_next> 
	<@p.column title="类型编号" align="center"  width="20%">${type.typeId}</@p.column><#t/>
	<@p.column title="类型名称" align="center">${type.typeName}</@p.column><#t/>

	<@p.column code="global.operate" align="center" width="20%">
		<a href="v_view.do" class="pn-opt"><@s.m "content.opt.view"/></a> | <#rt/>
		<a href="v_edit.do" class="pn-opt"><@s.m "global.edit"/></a> | <#rt/>
		<a href="o_delete.do" onclick="if(!confirm('<@s.m "global.confirm.delete"/>')) {return false;}" class="pn-opt"><@s.m "global.delete"/></a><#t/>
	</@p.column><#t/>
</@p.table>
 
</form>
</div>
<#include "/common/alert_message.html"/>
</body>
</html>